package org.goodsence.therevolt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zty
 * @apiNote
 * @project_name the-revolt
 * @user tain
 * @create_at 2023/6/14 14:03
 * @create_vio IntelliJ IDEA
 */
@ComponentScan(basePackages = "org.goodsence.**")
@EnableFeignClients(basePackages = "org.goodsence.api")  //必须扫描api包， 否则api无法注入。
@SpringBootApplication
public class TheRevoltApplication {
    public static void main(String[] args) {
        SpringApplication.run(TheRevoltApplication.class, args);
    }
}
